home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / -archivi / -recent2 / clib37x.lha / CLib37x / ReadMe.MAXON < prev    next >
Text File  |  1997-12-29  |  2KB  |  58 lines

  1. MaxonC (3.0) note:
  2. ------------------
  3. [Andreas R. Kleinert <Andreas_Kleinert@t-online.de]
  4.  
  5.  - Stephan Rupprecht <stephan.rupprecht@metronet.de>
  6.    reported, that compiling with the "small code/data" model
  7.    did cause an invalid RomTag (the data inside the RomTag
  8.    can't be fully resolved by the linker, since MaxonC
  9.    uses some run-time code for initialization).
  10.    Unless this bug is fixed, i.e. your version does not
  11.    have this bug, you only should compile libraries using
  12.    the "large code/data" model when compiling with MaxonC.
  13.  - also, according to Stephan, library bases always have
  14.    to be global variables with MaxonC, so the test program
  15.    had to be fixed, too
  16.  
  17.  
  18. [Helmut Hummel <hhummel@t-online.de>]
  19.  
  20. I have converted this source to the Maxon-C style with the
  21. compiler version 3.0 Light (including HotHelp).
  22. Some settings of the compiler stores paths so I did this
  23. on a disk named "DF0" to solve all resulting problems.
  24. To force the compiler to ignore all SAS/Storm related
  25. stuff, in all files **must** included the "maxon.h".
  26.  
  27. Until this version some settings are lost (global), so
  28. set this options in your global settings:
  29.  
  30. Compiler:
  31. C++ mode - off
  32. breaks   - off
  33. optimize - on
  34.  
  35. Linker:
  36. without startup code
  37. small (A4 relative)
  38. Link libs - amiga
  39.  
  40. The right order in the makefile is important !!
  41. (not at this example, but if you later add other functions)
  42. This should be (in the object lister):
  43. StartUp.o
  44. LibInit.o
  45. SampleFuncs.o
  46.  
  47. The size of the "example.library" will big a greater than
  48. from SAS/Storm (1212 bytes). Do not wonder about.
  49.  
  50. The source to TestExampleLib I would not convert, you should
  51. "can" do this, if you want to write a library or use the
  52. compiled program for testing.
  53.  
  54. If you must convert a SAS-C pragma file use the wonderful
  55. new "fd2pragma" version 2.20 archive on AmiNet dev/misc.
  56.  
  57. Happy programming.
  58.